<?php

class Acl_Firms_Firm
{
	public static function getFirm($id,$privateKey)
	{
		require ($_SERVER['DOCUMENT_ROOT'].'/../application/configs/settings.php');
		
		$user = new Acl_Users_Users($database);
		$data = $user->getUser($id);
		
		$data=$user->getUser($id);
		$firm=md5($data['name'].$data['email'].$data['phone'].
						$data['address'].$data['postalcode'].$data['city'].
						$data['password'].$data['gender'].$data['description'].
						$privateKey);
	
		return $firm;
						 			
	}
}